<?php /* Smarty version Smarty-3.1.12, created on 2013-01-26 23:57:19
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/find_match/singleQueue/selectRegion.tpl" */ ?>
<?php /*%%SmartyHeaderCode:134958078751002023089171-29066785%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8659e663960c13c0728312493a901f5875a50c55' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/find_match/singleQueue/selectRegion.tpl',
      1 => 1359241037,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '134958078751002023089171-29066785',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_510020230b6489_49049134',
  'variables' => 
  array (
    'regions' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_510020230b6489_49049134')) {function content_510020230b6489_49049134($_smarty_tpl) {?> <h4 class="media-heading">Selected Region <a href="#myModalSelectRegion" class="btn btn-mini btn-inverse" data-toggle="modal" data-backdrop="static" data-keyboard="false"><i class="icon-pencil icon-white t" title="Customize selected regions"></i></a></h4>
 <div id="SingleQueueRegion">

     <?php if (count($_smarty_tpl->tpl_vars['regions']->value)>0&&is_array($_smarty_tpl->tpl_vars['regions']->value)){?>
     <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['regions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
       <?php if ($_COOKIE['singleQueueRegion'][$_smarty_tpl->tpl_vars['v']->value['RegionID']]==true){?>
         <span class="badge badge-important t" data-value="<?php echo $_smarty_tpl->tpl_vars['v']->value['RegionID'];?>
" data-original-title="<?php echo $_smarty_tpl->tpl_vars['v']->value['Name'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['v']->value['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['Shortcut'];?>
</span>&nbsp;
       <?php }?> 

     <?php } ?>
     <?php }?>
   
 </div>
 <div id="SingleQueueRegionErrors">
        </div><?php }} ?>